﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	FormsDefinition.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Forms
{
	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
	[System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
	public class Forms
	{
		private object[] itemsField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Form", typeof(Form), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Rules", typeof(ChooseRules), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public object[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Form
	{
		private object[] itemsField;

		private string nameField;

		private string titleField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("ButtonTabs", typeof(ButtonTabs), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Control", typeof(Control), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Field", typeof(Field), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Group", typeof(Group), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("MenuItem", typeof(MenuItem), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Rules", typeof(ActionRules), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Scripts", typeof(Scripts), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Table", typeof(Table), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Tabs", typeof(Tabs), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public object[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class ButtonTabs
	{
		private ButtonTab[] itemsField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("ButtonTab", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public ButtonTab[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class ButtonTab
	{
		private ButtonGroup[] itemsField;

		private string nameField;

		private string titleField;

		private bool initialField;

		private bool initialFieldSpecified;

		private string securityField;

		private string conditionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("ButtonGroup", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public ButtonGroup[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Initial
		{
			get { return this.initialField; }
			set { this.initialField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool InitialSpecified
		{
			get { return this.initialFieldSpecified; }
			set { this.initialFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Security
		{
			get { return this.securityField; }
			set { this.securityField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class ButtonGroup
	{
		private object[] itemsField;

		private string nameField;

		private string titleField;

		private ButtonGroupTemplate templateField;

		private bool templateFieldSpecified;

		private string securityField;

		private string conditionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Button", typeof(Button), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("CreateDocumentButton", typeof(CreateDocumentButton), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public object[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public ButtonGroupTemplate Template
		{
			get { return this.templateField; }
			set { this.templateField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool TemplateSpecified
		{
			get { return this.templateFieldSpecified; }
			set { this.templateFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Security
		{
			get { return this.securityField; }
			set { this.securityField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Button
	{
		private string nameField;

		private string titleField;

		private bool useStandardImageField;

		private string imageUrl16Field;

		private string imageUrl32Field;

		private int imageXField;

		private bool imageXFieldSpecified;

		private int imageYField;

		private bool imageYFieldSpecified;

		private int imageLangField;

		private bool imageLangFieldSpecified;

		private string commandField;

		private string commandEnableField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private string securityField;

		private string conditionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool UseStandardImage
		{
			get { return this.useStandardImageField; }
			set { this.useStandardImageField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string ImageUrl16
		{
			get { return this.imageUrl16Field; }
			set { this.imageUrl16Field = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string ImageUrl32
		{
			get { return this.imageUrl32Field; }
			set { this.imageUrl32Field = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public int ImageX
		{
			get { return this.imageXField; }
			set { this.imageXField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool ImageXSpecified
		{
			get { return this.imageXFieldSpecified; }
			set { this.imageXFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public int ImageY
		{
			get { return this.imageYField; }
			set { this.imageYField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool ImageYSpecified
		{
			get { return this.imageYFieldSpecified; }
			set { this.imageYFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public int ImageLang
		{
			get { return this.imageLangField; }
			set { this.imageLangField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool ImageLangSpecified
		{
			get { return this.imageLangFieldSpecified; }
			set { this.imageLangFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Command
		{
			get { return this.commandField; }
			set { this.commandField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string CommandEnable
		{
			get { return this.commandEnableField; }
			set { this.commandEnableField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Security
		{
			get { return this.securityField; }
			set { this.securityField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class ChooseRules
	{
		private ChooseRule[] itemsField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("ChooseRule", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public ChooseRule[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class ChooseRule
	{
		private string conditionField;

		private string formNameField;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string FormName
		{
			get { return this.formNameField; }
			set { this.formNameField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class MenuItem
	{
		private string queryField;

		private string controlSrcField;

		private MenuItem[] menuItemsField;

		private string nameField;

		private string titleField;

		private bool isSelectedField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public string Query
		{
			get { return this.queryField; }
			set { this.queryField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public string ControlSrc
		{
			get { return this.controlSrcField; }
			set { this.controlSrcField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("MenuItems", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public MenuItem[] MenuItems
		{
			get { return this.menuItemsField; }
			set { this.menuItemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool IsSelected
		{
			get { return this.isSelectedField; }
			set { this.isSelectedField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Script
	{
		private string nameField;

		private string srcField;

		private string textField;

		private ScriptDisplacement displacementField;

		private bool displacementFieldSpecified;

		private string securityField;

		private string conditionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Src
		{
			get { return this.srcField; }
			set { this.srcField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Text
		{
			get { return this.textField; }
			set { this.textField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public ScriptDisplacement Displacement
		{
			get { return this.displacementField; }
			set { this.displacementField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool DisplacementSpecified
		{
			get { return this.displacementFieldSpecified; }
			set { this.displacementFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Security
		{
			get { return this.securityField; }
			set { this.securityField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	public enum ScriptDisplacement
	{
		/// <remarks/>
		Head,

		/// <remarks/>
		Body,
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Scripts
	{
		private Script[] itemsField;

		private string nameField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Script", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public Script[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class CreateDocumentButton
	{
		private string nameField;

		private string titleField;

		private bool useStandardImageField;

		private string imageUrl16Field;

		private string imageUrl32Field;

		private int imageXField;

		private bool imageXFieldSpecified;

		private int imageYField;

		private bool imageYFieldSpecified;

		private int imageLangField;

		private bool imageLangFieldSpecified;

		private string commandField;

		private string commandEnableField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private string securityField;

		private string conditionField;

		private string listIdField;

		private string contentTypeIdField;

		private string sourceField;

		private string rootFolderField;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool UseStandardImage
		{
			get { return this.useStandardImageField; }
			set { this.useStandardImageField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string ImageUrl16
		{
			get { return this.imageUrl16Field; }
			set { this.imageUrl16Field = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string ImageUrl32
		{
			get { return this.imageUrl32Field; }
			set { this.imageUrl32Field = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public int ImageX
		{
			get { return this.imageXField; }
			set { this.imageXField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool ImageXSpecified
		{
			get { return this.imageXFieldSpecified; }
			set { this.imageXFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public int ImageY
		{
			get { return this.imageYField; }
			set { this.imageYField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool ImageYSpecified
		{
			get { return this.imageYFieldSpecified; }
			set { this.imageYFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public int ImageLang
		{
			get { return this.imageLangField; }
			set { this.imageLangField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool ImageLangSpecified
		{
			get { return this.imageLangFieldSpecified; }
			set { this.imageLangFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Command
		{
			get { return this.commandField; }
			set { this.commandField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string CommandEnable
		{
			get { return this.commandEnableField; }
			set { this.commandEnableField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Security
		{
			get { return this.securityField; }
			set { this.securityField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string ListId
		{
			get { return this.listIdField; }
			set { this.listIdField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string ContentTypeId
		{
			get { return this.contentTypeIdField; }
			set { this.contentTypeIdField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Source
		{
			get { return this.sourceField; }
			set { this.sourceField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string RootFolder
		{
			get { return this.rootFolderField; }
			set { this.rootFolderField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class ActionRules
	{
		private ActionRule[] itemsField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("ActionRule", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public ActionRule[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class ActionRule
	{
		private string conditionField;

		private string actionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Action
		{
			get { return this.actionField; }
			set { this.actionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Control
	{
		private string webControlField;

		private string userControlField;

		private bool isFieldCtrlField;

		private bool isFieldCtrlFieldSpecified;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string WebControl
		{
			get { return this.webControlField; }
			set { this.webControlField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string UserControl
		{
			get { return this.userControlField; }
			set { this.userControlField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool IsFieldCtrl
		{
			get { return this.isFieldCtrlField; }
			set { this.isFieldCtrlField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool IsFieldCtrlSpecified
		{
			get { return this.isFieldCtrlFieldSpecified; }
			set { this.isFieldCtrlFieldSpecified = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Label
	{
		private string nameField;

		private string titleField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Field
	{
		private string nameField;

		private string titleField;

		private string displayTemplateNameField;

		private string editTemplateNameField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		private string conditionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string DisplayTemplateName
		{
			get { return this.displayTemplateNameField; }
			set { this.displayTemplateNameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string EditTemplateName
		{
			get { return this.editTemplateNameField; }
			set { this.editTemplateNameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class TableCell
	{
		private object[] itemsField;

		private string nameField;

		private string titleField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Control", typeof(Control), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Field", typeof(Field), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Group", typeof(Group), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Label", typeof(Label), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Table", typeof(Table), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public object[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Group
	{
		private object[] itemsField;

		private string nameField;

		private string titleField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		private string conditionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Control", typeof(Control), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Field", typeof(Field), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Label", typeof(Label), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Table", typeof(Table), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public object[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Table
	{
		private TableRow[] itemsField;

		private string nameField;

		private string titleField;

		private bool showBordersField;

		private bool showBordersFieldSpecified;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Row", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public TableRow[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool ShowBorders
		{
			get { return this.showBordersField; }
			set { this.showBordersField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool ShowBordersSpecified
		{
			get { return this.showBordersFieldSpecified; }
			set { this.showBordersFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class TableRow
	{
		private TableCell[] itemsField;

		private string nameField;

		private string titleField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Cell", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public TableCell[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Tab
	{
		private object[] itemsField;

		private string nameField;

		private string titleField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		private string conditionField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Control", typeof(Control), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Field", typeof(Field), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Group", typeof(Group), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Label", typeof(Label), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		[System.Xml.Serialization.XmlElementAttribute("Table", typeof(Table), Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public object[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Condition
		{
			get { return this.conditionField; }
			set { this.conditionField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	[System.Diagnostics.DebuggerStepThroughAttribute]
	[System.ComponentModel.DesignerCategoryAttribute("code")]
	public class Tabs
	{
		private Tab[] itemsField;

		private string nameField;

		private string titleField;

		private bool enabledField;

		private bool enabledFieldSpecified;

		private bool visibleField;

		private bool visibleFieldSpecified;

		private string widthField;

		private string heightField;

		/// <remarks/>
		[System.Xml.Serialization.XmlElementAttribute("Tab", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
		public Tab[] Items
		{
			get { return this.itemsField; }
			set { this.itemsField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Name
		{
			get { return this.nameField; }
			set { this.nameField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Title
		{
			get { return this.titleField; }
			set { this.titleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Enabled
		{
			get { return this.enabledField; }
			set { this.enabledField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool EnabledSpecified
		{
			get { return this.enabledFieldSpecified; }
			set { this.enabledFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public bool Visible
		{
			get { return this.visibleField; }
			set { this.visibleField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlIgnoreAttribute]
		public bool VisibleSpecified
		{
			get { return this.visibleFieldSpecified; }
			set { this.visibleFieldSpecified = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Width
		{
			get { return this.widthField; }
			set { this.widthField = value; }
		}

		/// <remarks/>
		[System.Xml.Serialization.XmlAttributeAttribute]
		public string Height
		{
			get { return this.heightField; }
			set { this.heightField = value; }
		}
	}

	/// <remarks/>
	[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
	[System.SerializableAttribute]
	public enum ButtonGroupTemplate
	{
		/// <remarks/>
		SimpleTemplate,

		/// <remarks/>
		ThreeRowTemplate,
	}
}